﻿///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Apr 16 2008)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#include "MainFrm.h"

///////////////////////////////////////////////////////////////////////////

BEGIN_EVENT_TABLE( MyFrame1, wxFrame )
	EVT_TREE_SEL_CHANGED( wxID_ANY, MyFrame1::_wxFB_PosSelect )
	EVT_GRID_LABEL_LEFT_CLICK( MyFrame1::_wxFB_LableClicked )
	EVT_GRID_SELECT_CELL( MyFrame1::_wxFB_BatchRowSelect )
	EVT_MENU( ID_GET_DATA, MyFrame1::_wxFB_Synch_Menu_Click )
	EVT_MENU( ID_SET, MyFrame1::_wxFB_SettingToolClick )
	EVT_MENU( ID_EXIT, MyFrame1::_wxFB_Exit_Menu_Click )
	EVT_MENU( ID_HELP, MyFrame1::_wxFB_Help_Menu_Click )
	EVT_MENU( ID_ABOUT, MyFrame1::_wxFB_About_Menu_Click )
	EVT_TOOL( ID_GET_DATA, MyFrame1::_wxFB_Synch_Tool_Click )
	EVT_TOOL( ID_SET, MyFrame1::_wxFB_SettingToolClick )
	EVT_TOOL( ID_HELP, MyFrame1::_wxFB_Help_Tool_Click )
END_EVENT_TABLE()

MyFrame1::MyFrame1( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxSize( 640,480 ), wxDefaultSize );
	
	wxBoxSizer* bSizer1;
	bSizer1 = new wxBoxSizer( wxVERTICAL );
	
	m_auinotebook2 = new wxAuiNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxAUI_NB_TAB_MOVE|wxAUI_NB_TAB_SPLIT );
	m_auinotebook2->SetMinSize( wxSize( 600,440 ) );
	
	m_panel51 = new wxPanel( m_auinotebook2, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
	m_panel51->SetMinSize( wxSize( 600,440 ) );
	
	wxBoxSizer* bSizer8;
	bSizer8 = new wxBoxSizer( wxVERTICAL );
	
	m_splitter1 = new wxSplitterWindow( m_panel51, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D );
	m_splitter1->SetSashGravity( 0 );
	m_splitter1->SetSashSize( 1 );
	m_splitter1->SetMinimumPaneSize( 1 );
	m_splitter1->Connect( wxEVT_IDLE, wxIdleEventHandler( MyFrame1::m_splitter1OnIdle ), NULL, this );
	m_panel3 = new wxPanel( m_splitter1, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
	m_panel3->SetMinSize( wxSize( 100,400 ) );
	
	wxBoxSizer* bSizer3;
	bSizer3 = new wxBoxSizer( wxVERTICAL );
	
	bSizer3->SetMinSize( wxSize( 100,400 ) ); 
	m_treeCtrl3 = new wxTreeCtrl( m_panel3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_DEFAULT_STYLE );
	m_treeCtrl3->SetMinSize( wxSize( 100,400 ) );
	
	bSizer3->Add( m_treeCtrl3, 1, wxEXPAND, 5 );
	
	m_panel3->SetSizer( bSizer3 );
	m_panel3->Layout();
	bSizer3->Fit( m_panel3 );
	m_panel4 = new wxPanel( m_splitter1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxRAISED_BORDER|wxTAB_TRAVERSAL );
	m_panel4->SetMinSize( wxSize( 400,400 ) );
	
	wxBoxSizer* bSizer4;
	bSizer4 = new wxBoxSizer( wxVERTICAL );
	
	bSizer4->SetMinSize( wxSize( 400,400 ) ); 
	m_splitter2 = new wxSplitterWindow( m_panel4, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D );
	m_splitter2->SetSashGravity( 0 );
	m_splitter2->SetSashSize( 5 );
	m_splitter2->SetMinimumPaneSize( 1 );
	m_splitter2->Connect( wxEVT_IDLE, wxIdleEventHandler( MyFrame1::m_splitter2OnIdle ), NULL, this );
	m_splitter2->SetMinSize( wxSize( 400,400 ) );
	
	m_panel5 = new wxPanel( m_splitter2, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSIMPLE_BORDER );
	m_panel5->SetMinSize( wxSize( 400,195 ) );
	
	wxBoxSizer* bSizer5;
	bSizer5 = new wxBoxSizer( wxVERTICAL );
	
	bSizer5->SetMinSize( wxSize( 400,199 ) ); 
	m_grid2 = new wxGrid( m_panel5, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
	
	// Grid
	m_grid2->CreateGrid( 5, 5 );
	m_grid2->EnableEditing( false );
	m_grid2->EnableGridLines( true );
	m_grid2->EnableDragGridSize( false );
	m_grid2->SetMargins( 0, 0 );
	
	// Columns
	m_grid2->EnableDragColMove( false );
	m_grid2->EnableDragColSize( true );
	m_grid2->SetColLabelSize( 30 );
	m_grid2->SetColLabelAlignment( wxALIGN_CENTRE, wxALIGN_CENTRE );
	
	// Rows
	m_grid2->SetRowSize( 0, 19 );
	m_grid2->SetRowSize( 1, 19 );
	m_grid2->SetRowSize( 2, 19 );
	m_grid2->SetRowSize( 3, 19 );
	m_grid2->SetRowSize( 4, 24 );
	m_grid2->AutoSizeRows();
	m_grid2->EnableDragRowSize( true );
	m_grid2->SetRowLabelSize( 30 );
	m_grid2->SetRowLabelAlignment( wxALIGN_CENTRE, wxALIGN_CENTRE );
	
	// Label Appearance
	
	// Cell Defaults
	m_grid2->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_TOP );
	m_grid2->SetMinSize( wxSize( 400,190 ) );
	
	bSizer5->Add( m_grid2, 1, wxEXPAND, 5 );
	
	m_panel5->SetSizer( bSizer5 );
	m_panel5->Layout();
	bSizer5->Fit( m_panel5 );
	m_panel6 = new wxPanel( m_splitter2, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSIMPLE_BORDER );
	m_panel6->SetMinSize( wxSize( 400,195 ) );
	
	wxBoxSizer* bSizer6;
	bSizer6 = new wxBoxSizer( wxVERTICAL );
	
	bSizer6->SetMinSize( wxSize( 400,199 ) ); 
	m_grid3 = new wxGrid( m_panel6, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
	
	// Grid
	m_grid3->CreateGrid( 5, 5 );
	m_grid3->EnableEditing( true );
	m_grid3->EnableGridLines( true );
	m_grid3->EnableDragGridSize( false );
	m_grid3->SetMargins( 0, 0 );
	
	// Columns
	m_grid3->EnableDragColMove( false );
	m_grid3->EnableDragColSize( true );
	m_grid3->SetColLabelSize( 30 );
	m_grid3->SetColLabelAlignment( wxALIGN_CENTRE, wxALIGN_CENTRE );
	
	// Rows
	m_grid3->EnableDragRowSize( true );
	m_grid3->SetRowLabelSize( 30 );
	m_grid3->SetRowLabelAlignment( wxALIGN_CENTRE, wxALIGN_CENTRE );
	
	// Label Appearance
	
	// Cell Defaults
	m_grid3->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_TOP );
	m_grid3->SetMinSize( wxSize( 400,190 ) );
	
	bSizer6->Add( m_grid3, 1, wxEXPAND, 5 );
	
	m_panel6->SetSizer( bSizer6 );
	m_panel6->Layout();
	bSizer6->Fit( m_panel6 );
	m_splitter2->SplitHorizontally( m_panel5, m_panel6, 130 );
	bSizer4->Add( m_splitter2, 1, wxEXPAND, 1 );
	
	m_panel4->SetSizer( bSizer4 );
	m_panel4->Layout();
	bSizer4->Fit( m_panel4 );
	m_splitter1->SplitVertically( m_panel3, m_panel4, 159 );
	bSizer8->Add( m_splitter1, 1, wxEXPAND, 1 );
	
	m_panel51->SetSizer( bSizer8 );
	m_panel51->Layout();
	bSizer8->Fit( m_panel51 );
	m_auinotebook2->AddPage( m_panel51, wxT("Terminals"), true, wxNullBitmap );
	m_panel61 = new wxPanel( m_auinotebook2, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
	wxBoxSizer* bSizer9;
	bSizer9 = new wxBoxSizer( wxVERTICAL );
	
	m_grid31 = new wxGrid( m_panel61, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
	
	// Grid
	m_grid31->CreateGrid( 5, 5 );
	m_grid31->EnableEditing( true );
	m_grid31->EnableGridLines( true );
	m_grid31->EnableDragGridSize( false );
	m_grid31->SetMargins( 0, 0 );
	
	// Columns
	m_grid31->EnableDragColMove( false );
	m_grid31->EnableDragColSize( true );
	m_grid31->SetColLabelSize( 30 );
	m_grid31->SetColLabelAlignment( wxALIGN_CENTRE, wxALIGN_CENTRE );
	
	// Rows
	m_grid31->EnableDragRowSize( true );
	m_grid31->SetRowLabelSize( 30 );
	m_grid31->SetRowLabelAlignment( wxALIGN_CENTRE, wxALIGN_CENTRE );
	
	// Label Appearance
	
	// Cell Defaults
	m_grid31->SetDefaultCellFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 90, false, wxT("Sylfaen") ) );
	m_grid31->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_TOP );
	bSizer9->Add( m_grid31, 1, wxEXPAND, 5 );
	
	m_panel61->SetSizer( bSizer9 );
	m_panel61->Layout();
	bSizer9->Fit( m_panel61 );
	m_auinotebook2->AddPage( m_panel61, wxT("Open Batches"), false, wxNullBitmap );
	m_panel7 = new wxPanel( m_auinotebook2, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
	wxBoxSizer* bSizer81;
	bSizer81 = new wxBoxSizer( wxVERTICAL );
	
	m_grid4 = new wxGrid( m_panel7, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
	
	// Grid
	m_grid4->CreateGrid( 5, 5 );
	m_grid4->EnableEditing( true );
	m_grid4->EnableGridLines( true );
	m_grid4->EnableDragGridSize( false );
	m_grid4->SetMargins( 0, 0 );
	
	// Columns
	m_grid4->EnableDragColMove( false );
	m_grid4->EnableDragColSize( true );
	m_grid4->SetColLabelSize( 30 );
	m_grid4->SetColLabelAlignment( wxALIGN_CENTRE, wxALIGN_CENTRE );
	
	// Rows
	m_grid4->EnableDragRowSize( true );
	m_grid4->SetRowLabelSize( 30 );
	m_grid4->SetRowLabelAlignment( wxALIGN_CENTRE, wxALIGN_CENTRE );
	
	// Label Appearance
	
	// Cell Defaults
	m_grid4->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_TOP );
	bSizer81->Add( m_grid4, 1, wxEXPAND, 5 );
	
	m_panel7->SetSizer( bSizer81 );
	m_panel7->Layout();
	bSizer81->Fit( m_panel7 );
	m_auinotebook2->AddPage( m_panel7, wxT("Errors"), false, wxNullBitmap );
	
	bSizer1->Add( m_auinotebook2, 1, wxEXPAND, 5 );
	
	this->SetSizer( bSizer1 );
	this->Layout();
	m_statusBar1 = this->CreateStatusBar( 1, wxST_SIZEGRIP, wxID_ANY );
	m_menubar1 = new wxMenuBar( 0 );
	file = new wxMenu();
	wxMenuItem* getData;
	getData = new wxMenuItem( file, ID_GET_DATA, wxString( wxT("Get Data") ) , wxEmptyString, wxITEM_NORMAL );
	#ifdef __WXMSW__
	getData->SetBitmaps( wxBitmap( wxT("ICONS/synch16.bmp"), wxBITMAP_TYPE_ANY ) );
	#elif defined( __WXGTK__ )
	getData->SetBitmap( wxBitmap( wxT("ICONS/synch16.bmp"), wxBITMAP_TYPE_ANY ) );
	#endif
	file->Append( getData );
	
	wxMenuItem* settings;
	settings = new wxMenuItem( file, ID_SET, wxString( wxT("Settings") ) , wxEmptyString, wxITEM_NORMAL );
	#ifdef __WXMSW__
	settings->SetBitmaps( wxBitmap( wxT("ICONS/set16.bmp"), wxBITMAP_TYPE_ANY ) );
	#elif defined( __WXGTK__ )
	settings->SetBitmap( wxBitmap( wxT("ICONS/set16.bmp"), wxBITMAP_TYPE_ANY ) );
	#endif
	file->Append( settings );
	
	wxMenuItem* exit;
	exit = new wxMenuItem( file, ID_EXIT, wxString( wxT("Exit") ) , wxEmptyString, wxITEM_NORMAL );
	#ifdef __WXMSW__
	exit->SetBitmaps( wxBitmap( wxT("ICONS/x16.bmp"), wxBITMAP_TYPE_ANY ) );
	#elif defined( __WXGTK__ )
	exit->SetBitmap( wxBitmap( wxT("ICONS/x16.bmp"), wxBITMAP_TYPE_ANY ) );
	#endif
	file->Append( exit );
	
	m_menubar1->Append( file, wxT("File") );
	
	f1 = new wxMenu();
	wxMenuItem* help;
	help = new wxMenuItem( f1, ID_HELP, wxString( wxT("Help") ) , wxEmptyString, wxITEM_NORMAL );
	#ifdef __WXMSW__
	help->SetBitmaps( wxBitmap( wxT("ICONS/help16.bmp"), wxBITMAP_TYPE_ANY ) );
	#elif defined( __WXGTK__ )
	help->SetBitmap( wxBitmap( wxT("ICONS/help16.bmp"), wxBITMAP_TYPE_ANY ) );
	#endif
	f1->Append( help );
	
	wxMenuItem* about;
	about = new wxMenuItem( f1, ID_ABOUT, wxString( wxT("About") ) , wxEmptyString, wxITEM_NORMAL );
	f1->Append( about );
	
	m_menubar1->Append( f1, wxT("?") );
	
	this->SetMenuBar( m_menubar1 );
	
	m_toolBar3 = this->CreateToolBar( wxTB_HORIZONTAL, wxID_ANY );
	m_toolBar3->SetToolBitmapSize( wxSize( 32,32 ) );
	m_toolBar3->AddTool( ID_GET_DATA, wxT("Get Data"), wxBitmap( wxT("ICONS/synch32.bmp"), wxBITMAP_TYPE_ANY ), wxNullBitmap, wxITEM_NORMAL, wxEmptyString, wxEmptyString );
	m_toolBar3->AddTool( ID_SET, wxT("tool"), wxBitmap( wxT("ICONS/set32.bmp"), wxBITMAP_TYPE_ANY ), wxNullBitmap, wxITEM_NORMAL, wxEmptyString, wxEmptyString );
	m_toolBar3->AddTool( ID_HELP, wxT("tool"), wxBitmap( wxT("ICONS/help32.bmp"), wxBITMAP_TYPE_ANY ), wxNullBitmap, wxITEM_NORMAL, wxEmptyString, wxEmptyString );
	m_toolBar3->Realize();
	
}

MyFrame1::~MyFrame1()
{
}

BEGIN_EVENT_TABLE( MyDialog2, wxDialog )
	EVT_INIT_DIALOG( MyDialog2::_wxFB_onDialogShow )
	EVT_BUTTON( wxID_OK, MyDialog2::_wxFB_DialogOkClick )
END_EVENT_TABLE()

MyDialog2::MyDialog2( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
	
	wxBoxSizer* bSizer10;
	bSizer10 = new wxBoxSizer( wxVERTICAL );
	
	wxFlexGridSizer* fgSizer1;
	fgSizer1 = new wxFlexGridSizer( 2, 4, 0, 0 );
	fgSizer1->SetFlexibleDirection( wxBOTH );
	fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
	
	m_staticText16 = new wxStaticText( this, wxID_ANY, wxT("Db Host"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText16->Wrap( -1 );
	fgSizer1->Add( m_staticText16, 0, wxALL, 5 );
	
	m_textCtrl14 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	fgSizer1->Add( m_textCtrl14, 0, wxALL, 5 );
	
	m_staticText18 = new wxStaticText( this, wxID_ANY, wxT("SID"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText18->Wrap( -1 );
	fgSizer1->Add( m_staticText18, 0, wxALL, 5 );
	
	m_textCtrl16 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	fgSizer1->Add( m_textCtrl16, 0, wxALL, 5 );
	
	m_staticText21 = new wxStaticText( this, wxID_ANY, wxT("User"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText21->Wrap( -1 );
	fgSizer1->Add( m_staticText21, 0, wxALL, 5 );
	
	m_textCtrl18 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	fgSizer1->Add( m_textCtrl18, 0, wxALL, 5 );
	
	m_staticText19 = new wxStaticText( this, wxID_ANY, wxT("Pass."), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText19->Wrap( -1 );
	fgSizer1->Add( m_staticText19, 0, wxALL, 5 );
	
	m_textCtrl17 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	fgSizer1->Add( m_textCtrl17, 0, wxALL, 5 );
	
	m_staticText17 = new wxStaticText( this, wxID_ANY, wxT("MyLabel"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText17->Wrap( -1 );
	fgSizer1->Add( m_staticText17, 0, wxALL, 5 );
	
	m_textCtrl15 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	fgSizer1->Add( m_textCtrl15, 0, wxALL, 5 );
	
	bSizer10->Add( fgSizer1, 1, wxEXPAND, 5 );
	
	m_sdbSizer4 = new wxStdDialogButtonSizer();
	m_sdbSizer4OK = new wxButton( this, wxID_OK );
	m_sdbSizer4->AddButton( m_sdbSizer4OK );
	m_sdbSizer4Cancel = new wxButton( this, wxID_CANCEL );
	m_sdbSizer4->AddButton( m_sdbSizer4Cancel );
	m_sdbSizer4->Realize();
	bSizer10->Add( m_sdbSizer4, 0, wxEXPAND, 5 );
	
	this->SetSizer( bSizer10 );
	this->Layout();
	
	this->Centre( wxBOTH );
}

MyDialog2::~MyDialog2()
{
}
